<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>提现记录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="assets/css/amazeui.min.css">
    <link rel="stylesheet" href="assets/css/style.css?v=2.3">
    <link rel="stylesheet" href="assets/css/index.css?v=2.3">
</head>
<body class="bg-gray">
<header data-am-widget="header" class="am-header am-header-default am-header-fixed am-border-bottom">
    <div class="am-header-left am-header-nav">
        <a onclick="history.go(-1)"> <i class="icon_8"></i>
        </a>
    </div>
    <h1 class="am-header-title">
        提现记录
    </h1>

</header>
<section class="am-padding-bottom-sm" id="amz-main" data-tag="css-nav">

	<c:forEach items="${drawalList}" var="drawal">
    <div class="am-g  bg-white am-text-sm am-margin-bottom-xs am-g-collapse am-container am-padding-top-xs">
        <div class="am-u-sm-3  am-padding-bottom-xs">金&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;额：</div>
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-color-main">+<span>${drawal.money}</span>元</span></div>
        <div class="am-u-sm-3  am-padding-bottom-xs">渠&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;道：</div>
        <c:if test="${drawal.payChannel==1}">
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-color-main">微信账户</span></div>
        </c:if>
        <c:if test="${drawal.payChannel==0}">
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-color-main">银行卡</span></div>
        </c:if>
        <div class="am-u-sm-3  am-padding-bottom-xs">账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</div>
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-gray">${drawal.account}</span></div>
        <div class="am-u-sm-3  am-padding-bottom-xs">提现时间：</div>
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-gray">${drawal.dateStr}</span></div>
        <div class="am-u-sm-3  am-padding-bottom-xs">当前状态：</div>
        <c:if test="${drawal.status==0}">
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-color-main">申请中</span></div>
        </c:if>
        <c:if test="${drawal.status==1}">
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-color-main">已处理</span></div>
        </c:if>
        <c:if test="${drawal.status==2}">
        <div class="am-u-sm-9  am-padding-bottom-xs  "><span class="font-color-main">已拒绝</span></div>
        </c:if>
    </div>
    </c:forEach>
</section>


<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/amazeui.min.js"></script>

</body>
</html>